package com.mall.pay.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "支付单实体类")
@TableName("pay_info")
@Builder
public class PayInfo {

    @TableId(value = "pay_id")
    @ApiModelProperty(value = "支付单id")
    private Long payId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "支付关联的多个订单号")
    private String orderIds;

    @ApiModelProperty(value = "外部订单流水号")
    private String bizPayNo;

    @ApiModelProperty(value = "系统类型")
    private Integer sysType;

    @ApiModelProperty(value = "支付状态", notes = "0 未支付 1 已支付")
    private Integer payStatus;

    @ApiModelProperty(value = "支付金额")
    private Double payAmount;

    @ApiModelProperty(value = "支付单版本号")
    private Integer version;

    @ApiModelProperty(value = "回调内容")
    private String callbackContent;

    @ApiModelProperty(value = "回调时间")
    private String callbackTime;

    @ApiModelProperty(value = "确认时间")
    private String confirmTime;

}
